﻿//<TunynetCopyright>
//--------------------------------------------------------------
//<copyright>青岛拓宇网络科技有限公司 2005-2008</copyright>
//<version>V0.5</verion>
//<createdate>2008-2-21</createdate>
//<author>mazq</author>
//<email>mazq@Tunynet.com</email>
//<log date="2008-2-21">创建</log>
//--------------------------------------------------------------
//</TunynetCopyright>

using System;
using System.Collections.Generic;
using System.Text;

namespace ChinaCustoms.Qingdao.Workflow.Supports
{
    /// <summary>
    /// 任务状态
    /// </summary>
    public enum TaskStatus
    {
        /// <summary>
        /// 创建中,未生效(不应在用户待办事项及已办事项中存在)
        /// </summary>
        /// <remarks>提交第一个工作项时自动转化成Executing</remarks>
        Creating = 0,

        /// <summary>
        /// 运行中
        /// </summary>
        Executing = 1,

        /// <summary>
        /// 已完成
        /// </summary>
        Completed = 3,

        /// <summary>
        /// 已终止
        /// </summary>
        Terminated = 4,

    }

}
